cmake_minimum_required(VERSION 3.0.0)
project(dlopen VERSION 0.1.0)


add_library(dlopen SHARED dlopen.cpp)
add_library(dlopen2 SHARED dlopen2.cpp)


add_executable(main1 main1.cpp)
target_link_libraries(main1 dlopen dl )

add_executable(main2 main2.cpp)
target_link_libraries(main2 dlopen dl )

add_executable(main3 main3.cpp)
target_link_libraries(main3 dlopen dl )

add_executable(main4 main4.cpp)
target_link_libraries(main4 dlopen dl )

add_executable(main5 main5.cpp)
target_link_libraries(main5 dlopen dl )

add_executable(main6 main6.cpp)
target_link_libraries(main6 dlopen dl )

add_executable(main7 main7.cpp)
target_link_libraries(main7 dlopen dl )

add_executable(main8 main8.cpp)
target_link_libraries(main8 dlopen dl )